Marek Černocký [Sun, 14 Mar 2021 08:28:17 +0000 (09:28 +0100)]
Updated Czech translation
Matthias Clasen [Sat, 13 Mar 2021 22:27:04 +0000 (22:27 +0000)]
Merge branch 'gles-coloring' into 'master'
ngl: Fix the coloring shader on GLES 2.0
See merge request GNOME/gtk!3294
Emmanuel Gil Peyrot [Sat, 13 Mar 2021 22:00:54 +0000 (22:00 +0000)]
ngl: Fix the coloring shader on GLES 2.0
Integer varyings didn’t exist in GLSL ES 1.00, neither did the flat
attribute.
Kjartan Maraas [Sat, 13 Mar 2021 16:04:48 +0000 (16:04 +0000)]
Update Norwegian Bokmål translation
(cherry picked from commit
70ee21db71e5b8de0aff406d3d9f1decddebfa09)
Matthias Clasen [Sat, 13 Mar 2021 12:36:56 +0000 (12:36 +0000)]
Merge branch 'ebassi/for-master' into 'master'
docs: Fix the dependencies links
See merge request GNOME/gtk!3284
Matthias Clasen [Sat, 13 Mar 2021 12:33:15 +0000 (12:33 +0000)]
Merge branch 'ngl-textview-cursor' into 'master'
Ngl textview cursor
See merge request GNOME/gtk!3292
Matthias Clasen [Sat, 13 Mar 2021 00:44:31 +0000 (19:44 -0500)]
textview: Fix blinking block cursors
When we have a block cursor, we need to discard the
cached node of the line containing the cursor, in order
to get a blinking cursor.
Matthias Clasen [Sat, 13 Mar 2021 00:44:31 +0000 (19:44 -0500)]
textview: Fix blinking block cursors
When we have a block cursor, we need to discard the
cached node of the line containing the cursor, in order
to get a blinking cursor.
Matthias Clasen [Sat, 13 Mar 2021 00:28:36 +0000 (19:28 -0500)]
textlayout: Render cursors at the end
Don't place the insertion cursor render nodes in the
middle of the text nodes for all the text. This helps
the renderer batching the text draw calls together.
Matthias Clasen [Fri, 12 Mar 2021 23:26:15 +0000 (18:26 -0500)]
ngl: Fix up some debug printouts
Matthias Clasen [Fri, 12 Mar 2021 22:55:00 +0000 (22:55 +0000)]
Merge branch 'wip/chergert/fewer-uniforms' into 'master'
ngl: apply fewer uniforms
See merge request GNOME/gtk!3289
Matthias Clasen [Fri, 12 Mar 2021 22:51:16 +0000 (22:51 +0000)]
Merge branch 'pgriffis/readme-fixes' into 'master'
readme: Fix broken doc links
See merge request GNOME/gtk!3291
Patrick Griffis [Fri, 12 Mar 2021 22:02:55 +0000 (22:02 +0000)]
readme: Fix broken doc links
Matthias Clasen [Fri, 12 Mar 2021 21:26:52 +0000 (21:26 +0000)]
Merge branch 'ngl-vertex-attributes' into 'master'
Ngl vertex attributes
See merge request GNOME/gtk!3290
Matthias Clasen [Fri, 12 Mar 2021 19:25:05 +0000 (14:25 -0500)]
ngl: Identify shaders
Add a comment with a name to each shader. That makes
identifying the shaders in apitrace much easier.
Christian Hergert [Fri, 12 Mar 2021 19:47:15 +0000 (11:47 -0800)]
ngl: reintroduce comparison checks
This reduces how many changes we make when recording uniform state, which
increases the chances that the data offset will be the same when applying
uniforms.
Christian Hergert [Fri, 12 Mar 2021 18:16:52 +0000 (10:16 -0800)]
ngl: add front cache to reduce uniform changes
Since we make full snapshots when recording uniform state of batches, we
need to perform some deduplication to avoid so many repeated uniform calls.
This uses a closed hashtable to determine if we are likely changing the
value to something new.
This does not currently compare values, it instead only compares that we
are going to point at a new offset into the uniform buffer. We could go
further if we compare upon updating values (we did that early on in the
prototype) so that offsets are less likely to be changed.
Matthias Clasen [Fri, 12 Mar 2021 06:44:05 +0000 (01:44 -0500)]
gtk-demo: Add a test for scrolling with Emoji
Make a text with lots of Emoji and text. This
is exercising the GL renderers switching between
different shaders for color and plain glyphs.
Matthias Clasen [Fri, 12 Mar 2021 06:27:19 +0000 (01:27 -0500)]
ngl: Make the coloring shader more versatile
When the color passed is transparent black, use
the color from the texture as source, instead of
as mask. This lets use use the coloring program
both for regular and color glyphs, avoiding
program changes in text with Emoji.
Matthias Clasen [Fri, 12 Mar 2021 00:46:15 +0000 (19:46 -0500)]
ngl: Set color as vertex attribute
Instead of using uniforms for color used in multiple
programs, pass it as vertex attributes. This will let
us batch more draw calls, since we don't have to change
uniforms so often. In particular, for syntax-highlighted
text.
Matthias Clasen [Fri, 12 Mar 2021 02:31:31 +0000 (21:31 -0500)]
gsk: Give ngl its own shader sources
We may want to change the interface between the
shaders and the renderer for ngl, and therefore,
sharing the shaders between gl and ngl will not
be practical, going forward.
Matthias Clasen [Fri, 12 Mar 2021 14:06:33 +0000 (14:06 +0000)]
Merge branch 'fix-3704' into 'master'
gdksurface-win32.c: Fix window menu positioning (issue #3704)
Closes #3704
See merge request GNOME/gtk!3286
Emmanuele Bassi [Fri, 12 Mar 2021 11:13:54 +0000 (11:13 +0000)]
build: Install the API references
We are building them, but not installing them.
Emmanuele Bassi [Thu, 11 Mar 2021 17:36:36 +0000 (17:36 +0000)]
docs: Fix the dependencies links
Use the GitLab pages location until we can link to a proper space on
developer.gnome.org.
Chun-wei Fan [Fri, 12 Mar 2021 10:39:04 +0000 (18:39 +0800)]
gdksurface-win32.c: Fix window menu positioning
We ought to get the coordinates of where the window menu should be
displayed using gdk_win32_surface_get_root_coords(), instead of rounding
the position that we obtained with gdk_event_get_position().
Also rename items a bit in the same function, and call
gdk_event_get_event_type() for consistency with the other backends.
Fixes issue #3704.
Changwoo Ryu [Fri, 12 Mar 2021 08:50:28 +0000 (08:50 +0000)]
Update Korean translation
(cherry picked from commit
7774d5d85e86f97d9ef7195c808bcd2d88ef49eb)
Emmanuele Bassi [Thu, 11 Mar 2021 18:40:32 +0000 (18:40 +0000)]
Merge branch 'bilelmoussaoui/shortcuts-annotation' into 'master'
g-i: fix gtk_shortcut_label_new annotation
See merge request GNOME/gtk!3285
Bilal Elmoussaoui [Thu, 11 Mar 2021 18:21:56 +0000 (18:21 +0000)]
g-i: fix gtk_shortcut_label_new annotation
Emmanuele Bassi [Thu, 11 Mar 2021 17:11:57 +0000 (17:11 +0000)]
Merge branch 'ebassi/gidocgen' into 'master'
Move API reference to gi-docgen
See merge request GNOME/gtk!3222
Emmanuele Bassi [Thu, 11 Mar 2021 16:46:02 +0000 (16:46 +0000)]
docs: Add URL maps for cross links
Emmanuele Bassi [Thu, 11 Mar 2021 16:36:48 +0000 (16:36 +0000)]
docs: Enable search
Emmanuele Bassi [Mon, 8 Mar 2021 17:58:14 +0000 (17:58 +0000)]
docs: Update the "running GTK apps" section
Style the content a bit better, and use the appropriate links.
Matthias Clasen [Fri, 5 Mar 2021 17:44:41 +0000 (12:44 -0500)]
Small updates to the coding and documentation style
Mention summary sentences, and a few other things.
Emmanuele Bassi [Fri, 5 Mar 2021 16:44:17 +0000 (16:44 +0000)]
build: Add missing variable definition
Emmanuele Bassi [Fri, 5 Mar 2021 14:37:31 +0000 (14:37 +0000)]
build: Add a GIR dependency to PangoCairo
This is not strictly needed from an introspection perspective, but:
- GTK strictly depends on PangoCairo internally
- we want to integrate the GDK docs with PangoCairo's
So even though we don't have an explicit dependency on PangoCairo types
in our ABI, we do assume that people will be able to use the PangoCairo
API with GTK.
Emmanuele Bassi [Thu, 4 Mar 2021 22:58:05 +0000 (22:58 +0000)]
Handle static inline GtkOrdering function
The introspection scanner does not handle `static inline` functions:
they are not in the shared library, so cannot be dlsym() out of it; and
the `static` keyword tells g-ir-scanner to skip the function declaration
entirely.
We can trick the scanner into thinking the gtk_ordering_from_cmpfunc()
symbol is a real, public one, by declaring and defining a regular
function under the `__GI_SCANNER__` guard; the symbol does not appear
when actually building GTK, or any code using GTK, so we don't risk
collisions.
Emmanuele Bassi [Thu, 4 Mar 2021 17:42:59 +0000 (17:42 +0000)]
docs: Show class hierarchy in the API references
Matthias Clasen [Tue, 2 Mar 2021 16:09:28 +0000 (11:09 -0500)]
label: Fix some external links
I had put in a bunch of [class@Pango.Attribute],
but it needs to be [struct@Pango.Attribute].
Know your dependencies` type hierarchy!
Matthias Clasen [Tue, 2 Mar 2021 16:08:13 +0000 (11:08 -0500)]
text: Fix some copy-paste mishap
A bunch of occurrances of "the self" looked like
absurdist short fiction:
"...the self scrolled off the screen to the left"
Matthias Clasen [Tue, 2 Mar 2021 04:41:04 +0000 (23:41 -0500)]
widget: Fix up some links
Fix up some links to vfuncs and to sections, as well as class methods.
Matthias Clasen [Tue, 2 Mar 2021 03:54:48 +0000 (22:54 -0500)]
shortcuttrigger: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:54:37 +0000 (22:54 -0500)]
shortcutlabel: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:54:23 +0000 (22:54 -0500)]
shortcutcontroller: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:54:11 +0000 (22:54 -0500)]
shortcutaction: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:53:57 +0000 (22:53 -0500)]
shortcut: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:53:47 +0000 (22:53 -0500)]
sizegroup: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:53:25 +0000 (22:53 -0500)]
testutils: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:53:00 +0000 (22:53 -0500)]
snapshot: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:52:48 +0000 (22:52 -0500)]
tooltip: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:52:39 +0000 (22:52 -0500)]
settings: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:52:30 +0000 (22:52 -0500)]
recentmanager: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:52:20 +0000 (22:52 -0500)]
mountoperation: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:51:55 +0000 (22:51 -0500)]
menutrackeritem: Remove SECTION
This is private
Matthias Clasen [Tue, 2 Mar 2021 03:51:38 +0000 (22:51 -0500)]
menutracker: Remove SECTION
This is private.
Matthias Clasen [Tue, 2 Mar 2021 03:51:03 +0000 (22:51 -0500)]
treesortable: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:50:53 +0000 (22:50 -0500)]
treeselection: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:50:40 +0000 (22:50 -0500)]
treemodelsort: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:50:27 +0000 (22:50 -0500)]
treemodelfilter: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:50:14 +0000 (22:50 -0500)]
treemodel: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:49:59 +0000 (22:49 -0500)]
treednd: Add summaries
Matthias Clasen [Tue, 2 Mar 2021 03:49:47 +0000 (22:49 -0500)]
treestore: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:49:33 +0000 (22:49 -0500)]
liststore: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:49:19 +0000 (22:49 -0500)]
treeviewcolumn: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:49:09 +0000 (22:49 -0500)]
treeview: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:48:08 +0000 (22:48 -0500)]
windowgroup: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:47:51 +0000 (22:47 -0500)]
listbox: Convert docs
Matthias Clasen [Tue, 2 Mar 2021 03:47:38 +0000 (22:47 -0500)]
iconview: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:47:23 +0000 (22:47 -0500)]
constraintsolver: Remove SECTION
This is private
Matthias Clasen [Tue, 2 Mar 2021 03:47:07 +0000 (22:47 -0500)]
cellview: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:39:20 +0000 (22:39 -0500)]
cellrenderertoggle: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:39:06 +0000 (22:39 -0500)]
cellrenderertext: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:38:49 +0000 (22:38 -0500)]
cellrendererspinner: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:38:34 +0000 (22:38 -0500)]
cellrendererspin: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:38:20 +0000 (22:38 -0500)]
cellrendererprogress: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:38:04 +0000 (22:38 -0500)]
cellrendererpixbuf: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:37:52 +0000 (22:37 -0500)]
celleditable: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:37:23 +0000 (22:37 -0500)]
cellrenderercombo: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:37:04 +0000 (22:37 -0500)]
cellrendereraccel: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:36:49 +0000 (22:36 -0500)]
cellrenderer: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:36:37 +0000 (22:36 -0500)]
celllayout: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:36:26 +0000 (22:36 -0500)]
cellareacontext: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:36:08 +0000 (22:36 -0500)]
cellareabox: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:35:51 +0000 (22:35 -0500)]
cellarea: Add a summary
Matthias Clasen [Tue, 2 Mar 2021 03:35:18 +0000 (22:35 -0500)]
actionobserver: Drop SECTION
This is private.
Matthias Clasen [Tue, 2 Mar 2021 03:35:03 +0000 (22:35 -0500)]
actionobservable: Drop SECTION
This is private.
Matthias Clasen [Tue, 2 Mar 2021 03:34:47 +0000 (22:34 -0500)]
actionmuxer: Drop SECTION
This is private.
Matthias Clasen [Tue, 2 Mar 2021 03:34:31 +0000 (22:34 -0500)]
accessiblevalue: Drop SECTION
This is private.
Matthias Clasen [Tue, 2 Mar 2021 03:34:09 +0000 (22:34 -0500)]
cssdataurl: Drop SECTION
This is private
Matthias Clasen [Mon, 1 Mar 2021 16:14:03 +0000 (11:14 -0500)]
bloomfilter: Drop the SECTION
This is private, no need.
Matthias Clasen [Mon, 1 Mar 2021 16:11:40 +0000 (11:11 -0500)]
accelgroup: Convert docs
Drop an unused SECTION, and convert links.
Matthias Clasen [Mon, 1 Mar 2021 13:19:09 +0000 (08:19 -0500)]
scrollbar: Tweak docs
Matthias Clasen [Mon, 1 Mar 2021 13:18:45 +0000 (08:18 -0500)]
placesview: Remove SECTION
Its private, no need.
Matthias Clasen [Mon, 1 Mar 2021 13:18:10 +0000 (08:18 -0500)]
placessidebar: Remove SECTION
Its private, no need.
Matthias Clasen [Mon, 1 Mar 2021 13:17:48 +0000 (08:17 -0500)]
modelbutton: Remove SECTION
Its private, no need.
Matthias Clasen [Mon, 1 Mar 2021 13:17:29 +0000 (08:17 -0500)]
filechooserwidget: Convert docs
Matthias Clasen [Mon, 1 Mar 2021 06:51:48 +0000 (01:51 -0500)]
treelistmodel: Convert docs
Matthias Clasen [Mon, 1 Mar 2021 06:51:37 +0000 (01:51 -0500)]
treeexpander: Convert docs
Matthias Clasen [Mon, 1 Mar 2021 06:51:18 +0000 (01:51 -0500)]
shortcuttrigger: Tweak docs
Matthias Clasen [Mon, 1 Mar 2021 06:51:02 +0000 (01:51 -0500)]
selectionmodel: Convert docs
Matthias Clasen [Mon, 1 Mar 2021 06:50:44 +0000 (01:50 -0500)]
multiselection: Convert docs